#include<iostream>
#include<cstdio>

using namespace std;

int main(){
	int m,d;
	scanf("%d %d",&m,&d);
	printf("%02d-%02d",m,d);
	return 0;
}


